Yoast\WP\Lib\ORM D

Total Complexity 261
Dependencies 4
Dependents 7
Total lines 2,500
Lines of code 939
Logical lines of code 509
Comment lines 1,141
Methods 135
Properties 22

Methods 135

Method Rating Maintainability Complexity Lines of code
insert_many()
A
48 11 32
where_any_is()
A
49 9 32
save()
A
48 8 34
add_simple_condition()
S
55 7 17
call_aggregate_db_function()
S
52 6 25
set_orm_property()
S
57 6 16
id()
S
58 6 16
normalise_select_many_columns()
S
57 5 19
create_placeholders()
S
58 5 15
build_insert_many()
S
53 4 20
run()
S
56 4 18
add_id_column_conditions()
S
57 4 17
select_many_expr()
S
60 4 13
select_many()
S
60 4 13
build_update()
S
59 4 13
join_if_not_empty()
S
62 4 12
execute()
S
56 3 19
add_join_source()
S
57 3 16
add_where_placeholder()
S
58 3 15
raw_join()
S
58 3 15
add_having_placeholder()
S
58 3 15
add_result_column()
S
61 3 13
get_dirty_column_names()
S
61 3 12
get()
S
62 3 12
build_conditions()
S
60 3 12
build_select_start()
S
61 3 12
update_many()
S
61 3 11
find_one()
S
63 3 11
build_select()
S
57 2 19
add_where_no_value()
S
64 3 9
add_having_no_value()
S
64 3 9
count_null_id_columns()
S
66 3 8
add_condition()
S
60 2 14
get_compound_id_column_values()
S
68 2 7
where_id_is()
S
77 2 3
build_offset()
S
71 2 6
quote_identifier()
S
65 2 9
build_limit()
S
71 2 6
build_order_by()
S
70 2 6
quote_identifier_part()
S
68 2 7
get_compound_id_column_values_array()
S
69 2 7
where_id_in()
S
77 2 3
as_array()
S
68 2 7
having_id_is()
S
77 2 3
delete()
S
72 2 4
create()
S
68 2 7
find_many()
S
68 2 7
create_model_instance()
S
68 2 8
offsetSet()
S
71 2 6
get_id_column_name()
S
71 2 6
build_group_by()
S
70 2 6
build_join()
S
70 2 6
build_insert()
S
61 1 11
delete_many()
S
64 1 11
having_not_in()
S
79 1 3
having_lte()
S
79 1 3
having_null()
S
79 1 3
having_not_null()
S
79 1 3
having_gte()
S
79 1 3
having_lt()
S
79 1 3
having_raw()
S
79 1 3
having_gt()
S
79 1 3
having_not_like()
S
79 1 3
having_in()
S
79 1 3
for_table()
S
79 1 3
build_where()
S
80 1 3
build_having()
S
80 1 3
quote_one_identifier()
S
71 1 5
reset_idiorm_state()
S
73 1 5
set()
S
79 1 3
set_expr()
S
79 1 3
is_dirty()
S
79 1 3
is_new()
S
82 1 3
offsetExists()
S
79 1 3
offsetGet()
S
80 1 3
offsetUnset()
S
76 1 4
__get()
S
80 1 3
__set()
S
80 1 3
__unset()
S
81 1 3
having_like()
S
79 1 3
where_not_null()
S
79 1 3
having_not_equal()
S
79 1 3
hydrate()
S
77 1 4
right_outer_join()
S
78 1 3
left_outer_join()
S
78 1 3
inner_join()
S
78 1 3
join()
S
78 1 3
distinct()
S
77 1 4
select_expr()
S
79 1 3
select()
S
75 1 4
table_alias()
S
77 1 4
raw_query()
S
71 1 6
force_all_dirty()
S
77 1 4
get_update_sql()
S
81 1 3
add_having()
S
79 1 3
get_sql()
S
81 1 3
sum()
S
79 1 3
avg()
S
79 1 3
min()
S
79 1 3
max()
S
79 1 3
count()
S
79 1 3
find_array()
S
81 1 3
create_instance_from_row()
S
70 1 6
use_id_column()
S
77 1 4
set_class_name()
S
81 1 3
__construct()
S
77 1 4
full_outer_join()
S
78 1 3
add_simple_having()
S
78 1 3
having_equal()
S
79 1 3
where_null()
S
79 1 3
having()
S
79 1 3
group_by_expr()
S
76 1 4
group_by()
S
73 1 5
order_by_expr()
S
76 1 4
order_by_asc()
S
79 1 3
order_by_desc()
S
79 1 3
add_order_by()
S
72 1 5
offset()
S
77 1 4
limit()
S
77 1 4
where_raw()
S
79 1 3
raw_execute()
S
78 1 3
where_not_in()
S
79 1 3
add_where()
S
79 1 3
where_in()
S
79 1 3
where_lte()
S
79 1 3
where_gte()
S
79 1 3
where_lt()
S
79 1 3
where_gt()
S
79 1 3
where_not_like()
S
79 1 3
where_like()
S
79 1 3
where_not_equal()
S
79 1 3
where_equal()
S
79 1 3
where()
S
79 1 3
add_simple_where()
S
78 1 3
__isset()
S
80 1 3